#ifndef TIMERS_H
#define TIMERS_H

#include <boost/timer.hpp>

namespace service
{
	class Timer
	{
		boost::timer globalTimer;
		boost::timer frameTimer;

		long frame_count;
		double sincereset_time;
		double lastframe_time;

	public:
		Timer(void);
		virtual ~Timer(void);

		void reset();
		double tick();

		long getFrameCount() {return frame_count;}
		double getLastFrameTime() {return lastframe_time;}
		double getSinceResetTime() {return globalTimer.elapsed();}
	};
}
#endif
